package com.general.filter;

/**
 * @description: BulkheadConstant
 * @author: general
 * @version: 1.0
 * @create: 2021-10-28 20:35
 **/
public class BulkheadConstant {

    public static final String BULK_HEAD_KEY = "bulkhead";

    //--------------------------  bulkhead  semaphore  相关参数  -------------------------------------------
    public static final String SEMAPHORE_MAX_CONCURRENT_CALLS = "maxConcurrentCalls";

    public static final String SEMAPHORE_MAX_WAIT_DURATION = "maxWaitDuration";



    //--------------------------  bulkhead  threadPool  相关参数  -------------------------------------------
    public static final String THREAD_POOL_MAX_THREAD_POOL_SIZE = "maxThreadPoolSize";

    public static final String THREAD_POOL_CORE_THREAD_POOL_SIZE = "coreThreadPoolSize";

    public static final String THREAD_POOL_QUEUE_CAPACITY= "queueCapacity";

    public static final String THREAD_POOL_KEEP_ALIVE_DURATION	= "keepAliveDuration";



}
